﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://wubiyu.cnblogs.com">
<head>
      <title></title>
      <link href="../../Theme/DomExtGray/gray.min.css" rel="Stylesheet" type="text/css" />
      <link href="PageModel.css" rel="Stylesheet" type="text/css" />
      <script type="text/javascript" src="../../domExt.min.js"></script>
</head>
<body>
      <div class="fun_title">
            _h.isArray(obj);
      </div>
      <div class="fun_content">
            描述：检查对象是否是一个数组(Array)<br />
      </div>
      <div class="fun_title2">
            参数:
      </div>
      <div class="fun_content2">
           obj：对象<br />
           <strong>Retrun:</strong>是返回 true 否返回false<br />
           <br />
      </div>
      <div class="fun_title2">
            示例:
      </div>
      <div class="code">
            &lt;script type=&quot;text/javascript&quot;&gt;<br />
            &nbsp;&nbsp;&nbsp; var o = [[2, 2], [22, 33]];<br />
&nbsp;&nbsp;&nbsp; var o2 = &quot;test&quot;;
            <br />
&nbsp;&nbsp;&nbsp; alert(_h.isArray(o));
            <br />
&nbsp;&nbsp;&nbsp; alert(_h.isArray(o2));<br />
            &lt;/script&gt;;</div>
            <br />
             <h:btn onclick="run_click();">绑定事件</h:btn>
             <script type="text/javascript">
                   function run_click() {
                         var o = [[2, 2], [22, 33]];
                         var o2 = "test";
                         alert(_h.isArray(o));
                         alert(_h.isArray(o2));
                  }
                   
             </script>
     
      
</body>
</html>
